Debugging PSTN Calls through CLI

You can also troubleshoot and debug digital (PSTN) calls through the device's CLI.

PSTN traces may affect performance.

To configure the debug (trace) level: The debug (trace) level determines the level of information included in the PSTN trace. For all PSTN traces, the trace level is configured per PSTN interface, using the following command:
configure voip > interface {e1-t1} {Slot/Port} > trace-level {full-isdn|full-isdn-with-duplications|layer3|layer3-no-duplications|no-trace|q921-raw-data|q931|q931-q921-raw-data|q931-raw-data}

For example:

# configure voip
(config-voip)# interface e1-t1 1/1
(e1-t1 1/1)# trace-level full-isdn
To start a PSTN trace:
Per Trunk: Debugging per trunk is configured in the Logging Filters where there is an option to start and stop the trace:
(config-troubleshoot)# logging logging-filters <Table Row Index>

For more information on the Logging Filters table, see Configuring Logging Filter Rules.

The trace level is configured using the interface command described in the beginning of this section.

All Trunks: You can perform PSTN traces for all trunks for which you have configured trace levels (using the interface command described in the beginning of this section). To start the trace for all these trunks, use the following command:
# debug debug-recording <IP Address of Debug Recording Server> pstn-trace
To enable sending traces to syslog: To send the PSTN traces to a syslog server, use the following command:
(config-troubleshoot)# pstn-debug on

If you send traces to a syslog server, you must configure the trace level to q931-raw-data.